#-------------------------------------------------
#
# Project created by QtCreator 2016-12-09T10:38:16
#
#-------------------------------------------------

QT       -= core gui

TARGET = rs_core
TEMPLATE = lib

DEFINES += RS_CORE_LIBRARY

win32: INCLUDEPATH += E:\Dependents\boost_1_62_0\include

SOURCES += \
    src/dllmain.cpp \
    src/asyncservice.cpp \
    src/tcpconnection.cpp \
    src/tcpacceptor.cpp \
    src/netservice.cpp \
    src/databaseservice.cpp \
    src/timerservice.cpp \
    src/timer.cpp \
    src/timerfactory.cpp \
    src/tcpconnectionfactory.cpp

HEADERS += \
    src/asyncservice.h \
    src/core_global.h \
    src/tcpconnection.h \
    src/tcpacceptor.h \
    src/netservice.h \
    src/databaseservice.h \
    src/timerservice.h \
    src/timer.h \
    src/timerfactory.h \
    src/tcpconnectionfactory.h

win32:CONFIG(release, debug|release): LIBS += \
    -L$$PWD/../bin/rs_util/release/ \
    -lrs_util
else:win32:CONFIG(debug, debug|release): LIBS += \
    -L$$PWD/../../../../Dependents/boost_1_62_0/libd/ \
    -L$$PWD/../bin/rs_util/debug/ \
    -llibboost_filesystem-mgw53-mt-d-1_62.dll \
    -llibboost_system-mgw53-mt-d-1_62.dll \
    -llibboost_log-mgw53-mt-d-1_62.dll \
    -llibboost_log_setup-mgw53-mt-d-1_62.dll \
    -llibboost_thread-mgw53-mt-d-1_62.dll \
    -lws2_32 \
    -lrs_util
else:unix: LIBS += -L$$PWD/../bin/rs_util/ -lrs_util

